package com.eco.dao.ds3;

import com.eco.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
/* loaded from: newfishway-1.0.0-SNAPSHOT.jar:BOOT-INF/classes/com/eco/dao/ds3/UserMapper.class */
public interface UserMapper {
    int addByUser(User user);

    int updateByUser(User user);

    User findByUsernameAndPassword(@Param("usercode") String usercode, @Param("password") String password);

    User findByUserIdAndUsername(@Param("userId") Integer userId, @Param("username") String username);

    User findByUsername(@Param("usercode") String usercode);
}